package com.epfresh.supplier.entity;

import com.epfresh.api.utils.JsonUtils;

import java.util.List;

/**
 * @author wangzhanghuan
 * @version 1.0
 * @date create 17-9-15
 * @Description
 */

public class OrderStoreDyn {


    /*
    {
  "id": 62367,
  "storeId": 1,
  "objectId": 2233,
  "type": "ORDER",
  "title": "销售订单-新订单",
  "source": 2,
  "createTime": "07-11 12:15",
  "textList": [
    {
      "text": "张三 在  天天鲜四季鲜 现场开单",
      "style": "1"
    },
    {
      "text": "合计 ¥33.5（现金支付¥20，欠款 ¥13.5）",
      "style": "1"
    },
    {
      "text": "共5件商品  操作人  李四",
      "style": "2"
    }
  ]
}
    * */



    String id;

    String storeId;

    String objectId;

    String type;

    String title;

    String source;

    String createTime;

    List<OrderStoreDynStyle> textList;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getObjectId() {
        return objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public List<OrderStoreDynStyle> getTextList() {
        return textList;
    }

    public void setTextList(List<OrderStoreDynStyle> textList) {
        this.textList = textList;
    }

    @Override
    public String toString() {
        return JsonUtils.toJson(this);
    }
}
